package com.tjec.project.businessWorkbench.service;

import com.tjec.project.businessWorkbench.domain.BmsBusinessExpertUse;
import com.tjec.project.businessWorkbench.domain.BmsBusinessPickup;
import com.tjec.project.businessWorkbench.dto.BmsPickupTimerDto;

import java.util.List;

/**
 * 收资管理Service接口
 * 
 * @author pangyongfeng
 * @date 2020-04-24
 */
public interface IBmsBusinessPickupService 
{
    /**
     * 查询收资管理
     * 
     * @param guid 收资管理ID
     * @return 收资管理
     */
    public BmsBusinessPickup selectBmsBusinessPickupByGuid(String guid);

    /**
     * 查询收资管理列表
     * 
     * @param bmsBusinessPickup 收资管理
     * @return 收资管理集合
     */
    public List<BmsBusinessPickup> selectBmsBusinessPickupList(BmsBusinessPickup bmsBusinessPickup);
    
    /**
     * 查询收资管理列表总数
     * 
     * @param bmsBusinessPickup 收资管理
     * @return 收资管理集合
     */
    public Integer selectBmsBusinessPickupListTotal(BmsBusinessPickup bmsBusinessPickup);

    /**
     * 新增收资管理
     * 
     * @param bmsBusinessPickup 收资管理
     * @return 结果
     */
    public int insertBmsBusinessPickup(BmsBusinessPickup bmsBusinessPickup) throws Exception;

    /**
     * 修改收资管理
     * 
     * @param bmsBusinessPickup 收资管理
     * @return 结果
     */
    public int updateBmsBusinessPickup(BmsBusinessPickup bmsBusinessPickup) throws Exception;

    /**
     * 批量删除收资管理
     * 
     * @param guids 需要删除的收资管理ID
     * @return 结果
     * @throws Exception 
     */
    public int deleteBmsBusinessPickupByGuids(String[] guids) throws Exception;

    /**
     * 删除收资管理信息
     * 
     * @param guid 收资管理ID
     * @return 结果
     */
    public int deleteBmsBusinessPickupByGuid(String guid);
    
    /**
     * 导入收资管理
     * @param bmsBusinessPickups
     * @return
     */
    public int importBmsBusinessPickups(List<BmsBusinessPickup> bmsBusinessPickups,String businessId);
    
    public List<BmsBusinessPickup> getPickupByGuid(String businessId);
    
    /**
     * 查询距当前时间三天的所有收资管理文件
     * @return
     */
    public List<BmsPickupTimerDto> getSendMsgInfo();
    
    public int updatePickupCounts(BmsPickupTimerDto bmsPickupTimerDto);

    /**
     * 查询项目文档列表
     * @param bmsBusinessPickup
     * @return
     */
    List<BmsBusinessPickup> selectProjectDocQueryList(BmsBusinessPickup bmsBusinessPickup);
}
